Skip to content

KubeVirtRelieveAndMigrate: add KubevirtMigrationAware plugin support#1881

Open
tiraboschi wants to merge 1 commit into
openshift:mainfrom
tiraboschi:kubevirtmigrationaware
Open

KubeVirtRelieveAndMigrate: add KubevirtMigrationAware plugin support#1881
tiraboschi wants to merge 1 commit into
openshift:mainfrom
tiraboschi:kubevirtmigrationaware

Conversation

@tiraboschi
Copy link
Copy Markdown
Contributor

@tiraboschi tiraboschi commented May 5, 2026

Enable the KubevirtMigrationAware plugin as filter and pre-eviction filter in the KubeVirtRelieveAndMigrate profile. The filter hard-blocks eviction of VMs with an in-progress migration; the pre-eviction filter applies an adaptive cooldown after migration completes to prevent cascading re-evictions.

Introduce three new ProfileCustomizations fields to tune the plugin:

  • devMigrationCooldown: base cooldown after a migration completes
  • devMaxMigrationCooldown: upper bound on the exponential backoff
  • devMigrationHistoryWindow: sliding window for counting past migrations

Requires: openshift/descheduler#591

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 5, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign p0lyn0mial for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tiraboschi tiraboschi force-pushed the kubevirtmigrationaware branch 3 times, most recently from 112c376 to 2256f77 Compare May 6, 2026 14:17
Enable the KubevirtMigrationAware plugin as filter and pre-eviction
filter in the KubeVirtRelieveAndMigrate profile. The filter hard-blocks
eviction of VMs with an in-progress migration; the pre-eviction filter
applies an adaptive cooldown after migration completes to prevent
cascading re-evictions.

Introduce three new ProfileCustomizations fields to tune the plugin:
- devMigrationCooldown: base cooldown after a migration completes
- devMaxMigrationCooldown: upper bound on the exponential backoff
- devMigrationHistoryWindow: sliding window for counting past migrations

Requires: openshift/descheduler#591

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
@tiraboschi tiraboschi force-pushed the kubevirtmigrationaware branch from 2256f77 to 665947d Compare May 6, 2026 14:50
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 6, 2026

@tiraboschi: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant